Skip to content

Adds Uno.WinUI and DryIoc.Uno.WinUI unit tests#3392

Merged
dansiegel merged 2 commits intomasterfrom
uno-tests
May 7, 2026
Merged

Adds Uno.WinUI and DryIoc.Uno.WinUI unit tests#3392
dansiegel merged 2 commits intomasterfrom
uno-tests

Conversation

@dansiegel
Copy link
Copy Markdown
Member

Description of Change

This pull request introduces comprehensive unit test projects for Prism.Uno.WinUI and Prism.DryIoc.Uno.WinUI. These tests validate core functionalities, including:

  • Container Integration: Verifying DryIoc container extension and framework exception registration.
  • API Contract: Ensuring public types and members are discoverable and loadable.
  • Region Management: Covering RegionManager, Region, and NavigationViewRegionAdapter behaviors, including adding/removing regions, context changes, and navigation requests.
  • Dialogs and Interactivity: Testing DialogService, IDialogWindow contracts, and InvokeCommandAction properties.
  • Application Lifecycle: Validating PrismApplicationBase and PrismApplication extensibility points.
  • Utility APIs: Confirming expected behavior of internal utility types.

The changes also update the CI/CD workflows (build_uno.yml and ci.yml) to enable the execution of these new unit tests, improving test coverage and ensuring stability for Prism on the Uno Platform. The coverlet.msbuild package is also added to Directory.Packages.props to support code coverage analysis for these new tests.

Bugs Fixed

  • None

API Changes

None

Behavioral Changes

None

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard

Introduces a comprehensive test suite for Uno Platform projects, including API contract verification, container integration, region management, and dialog services. This also enables test execution in the CI/CD workflows and adds coverlet.msbuild to support code coverage reporting.
Updates all build, CI, and release workflows to use version `v2` of the shared `avantipoint/workflow-templates`.

This change standardizes how unit tests are executed by replacing the `run-tests` flag with a new `test-projects` input, allowing explicit definition of test project paths for each platform (Core, WPF, Uno, MAUI, Avalonia).

Additionally, Uno platform builds are updated to target .NET 10.0.100 and related tooling versions, including Uno.Check version 1.33.1 and `tvos` workload installation.
Comment thread .github/workflows/build_uno.yml Dismissed
@dansiegel dansiegel merged commit 342e13b into master May 7, 2026
18 checks passed
@dansiegel dansiegel deleted the uno-tests branch May 7, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants